//
//  Duck.m
//  Design Patterns
//
//  Created by 王王 on 2016/12/10.
//  Copyright © 2016年 ying. All rights reserved.
//

#import "WYXDuck.h"

@implementation WYXDuck

- (void)swim{
    NSLog(@"I can swim !");
}

- (void)adorable{
    NSLog(@"I am cute !");
}

- (void)performFlyBehavior{
    [self.flyBehavior fly];
}

- (void)performQuackBehavior{
    [self.quackBehavior quack];
}

@end
